package com.huawei.crm.service;

import com.github.pagehelper.PageInfo;
import com.huawei.crm.domain.Systemdictionaryitem;
import com.huawei.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ISystemdictionaryitemService {

    void saveOrUpdate(Systemdictionaryitem isd);

    void delete(Long id);

    Systemdictionaryitem get(Long id);

    List<Systemdictionaryitem> listAll();

    PageInfo<Systemdictionaryitem> query(QueryObject qo);

    List<Systemdictionaryitem> listItemsByDictionarySn(@Param("sn") String sn);
}
